SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{eb87a47f202c81d142b64305857aa22331235fb4f9b381c7d5e5c99b2d7ed253}Bredstedt{eb87a47f202c81d142b64305857aa22331235fb4f9b381c7d5e5c99b2d7ed253}' OR prCity = 'Bredstedt' OR prZip = 'Bredstedt' OR prStreet LIKE '{eb87a47f202c81d142b64305857aa22331235fb4f9b381c7d5e5c99b2d7ed253}Bredstedt{eb87a47f202c81d142b64305857aa22331235fb4f9b381c7d5e5c99b2d7ed253}' OR prCountry = 'Bredstedt') AND (prLocation LIKE '{eb87a47f202c81d142b64305857aa22331235fb4f9b381c7d5e5c99b2d7ed253}Germany{eb87a47f202c81d142b64305857aa22331235fb4f9b381c7d5e5c99b2d7ed253}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{eb87a47f202c81d142b64305857aa22331235fb4f9b381c7d5e5c99b2d7ed253}Germany{eb87a47f202c81d142b64305857aa22331235fb4f9b381c7d5e5c99b2d7ed253}' OR prCountry = 'Germany')